<?php
/**
 * @copyright  For copyright and license information, read the COPYING.txt file.
 * @link       /COPYING.txt
 * @license    Academic Free License (AFL 3.0)
 * @package     base_default
 */

/**
 * @see Mage_Paypal_Block_Payflow_Link_Iframe
 * @var Mage_Paypal_Block_Payflow_Link_Iframe $this
 */
?>
<html>
<head></head>
<body>
    <form id="token_form" method="POST" action="<?php echo $this->getTransactionUrl() ?>">
        <input type="hidden" name="SECURETOKEN" value="<?php echo $this->getSecureToken(); ?>" />
        <input type="hidden" name="SECURETOKENID" value="<?php echo $this->getSecureTokenId(); ?>" />
        <input type="hidden" name="MODE" value="<?php echo $this->isTestMode() ? 'TEST' : 'LIVE'; ?>" />
    </form>
    <script type="text/javascript">
    //<![CDATA[
        document.getElementById('token_form').submit();
    //]]>
    </script>
</body>
</html>
